// import { useRequest } from 'umi';
import { RentDetailService } from '@/services/rentDetail';
// import { message } from 'antd'
import { RentDetail, ModelReturn } from '@/data-type'
import { BaseModel } from '@/services/baseService'

// import { IsType } from '@/self-util'
// import { useState } from 'react';
type RentDetailRet = ModelReturn<RentDetail>;
export default function RentDetailModel(params: { pageSize: number; current: number }): RentDetailRet {
  return BaseModel(params, RentDetailService)
}